<?php

if (PSG_CURUSRROLE == "user") {
    Url::redirect();
}

function registrations_action() {
    if (PSG_CURUSRROLE != ("global" || "state")) {
        Url::redirect();
    }
    echo View::factory('rootTpl')
            ->set('content', 'administer_registrations');
}